package com.huatai.datacenter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huatai.datacenter.entity.dataquality.QualityRuleEntity;
import org.apache.ibatis.annotations.Select;

/**
 * @author gusiyi
 * @version 1.0
 * @className QualityRuleMapper
 * @description 描述：数据质量规则mapper
 * @date 2023/6/1 10:47
 */
public interface QualityRuleMapper extends BaseMapper<QualityRuleEntity> {
    @Select("select id from tb_quality_rule where quality_rule_name = #{ruleName}")
    Long selectId(String ruleName);
}
